package com.example.demo.Service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.demo.Dto.ChargeDto;
import com.example.demo.Dto.TransactionInfoDto;
import com.example.demo.VO.ChargeVo;
import com.example.demo.VO.TransactionInfoVo;
import com.example.demo.po.Transaction;

public interface TransactionSrevice extends IService<Transaction> {
    TransactionInfoVo getTransaction(TransactionInfoDto transactionInfoDto);

    IPage<TransactionInfoVo> getTransactionList(String pageNum, String pageSize);

    ChargeVo ChargeByOrderIdAndCreditId(ChargeDto chargeDto);

    void deletepaymenys(String preTransactionId);

    void trueTranssation(String preTransactionId);
}
